package com.javaerschool.lero;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ServletComponentScan //扫描
@EnableTransactionManagement //开启事务管理
public class LeroApplication {
	//成功启动服务器后，http://localhost:8080/druid/login.html可以访问Druid监控日志.账号为lero,密码admin
	public static void main(String[] args) {
		SpringApplication.run(LeroApplication.class, args);
	}
}
